package com.ruicar.afs.cloud.filecenter.util;


import java.util.HashMap;
import java.util.Map;

public class MimeHelper {
    private static final Map<String,String> MIME_TYPE_MAPS = new HashMap<>();
    static {
        MIME_TYPE_MAPS.put("N/A","application/andrew-inset");
        MIME_TYPE_MAPS.put("aw","application/applixware");
        MIME_TYPE_MAPS.put("atom.xml","application/atom+xml");
        MIME_TYPE_MAPS.put("atomcat","application/atomcat+xml");
        MIME_TYPE_MAPS.put("atomsvc","application/atomsvc+xml");
        MIME_TYPE_MAPS.put("ccxml","application/ccxml+xml,");
        MIME_TYPE_MAPS.put("cdmia","application/cdmi-capability");
        MIME_TYPE_MAPS.put("cdmic","application/cdmi-container");
        MIME_TYPE_MAPS.put("cdmid","application/cdmi-domain");
        MIME_TYPE_MAPS.put("cdmio","application/cdmi-object");
        MIME_TYPE_MAPS.put("cdmiq","application/cdmi-queue");
        MIME_TYPE_MAPS.put("cu","application/cu-seeme");
        MIME_TYPE_MAPS.put("davmount","application/davmount+xml");
        MIME_TYPE_MAPS.put("dssc","application/dssc+der");
        MIME_TYPE_MAPS.put("xdssc","application/dssc+xml");
        MIME_TYPE_MAPS.put("es","application/ecmascript");
        MIME_TYPE_MAPS.put("emma","application/emma+xml");
        MIME_TYPE_MAPS.put("epub","application/epub+zip");
        MIME_TYPE_MAPS.put("exi","application/exi");
        MIME_TYPE_MAPS.put("pfr","application/font-tdpfr");
        MIME_TYPE_MAPS.put("stk","application/hyperstudio");
        MIME_TYPE_MAPS.put("ipfix","application/ipfix");
        MIME_TYPE_MAPS.put("jar","application/java-archive");
        MIME_TYPE_MAPS.put("ser","application/java-serialized-object");
        MIME_TYPE_MAPS.put("class","application/java-vm");
        MIME_TYPE_MAPS.put("js","application/javascript");
        MIME_TYPE_MAPS.put("json","application/json");
        MIME_TYPE_MAPS.put("hqx","application/mac-binhex40");
        MIME_TYPE_MAPS.put("cpt","application/mac-compactpro");
        MIME_TYPE_MAPS.put("mads","application/mads+xml");
        MIME_TYPE_MAPS.put("mrc","application/marc");
        MIME_TYPE_MAPS.put("mrcx","application/marcxml+xml");
        MIME_TYPE_MAPS.put("ma","application/mathematica");
        MIME_TYPE_MAPS.put("mathml","application/mathml+xml");
        MIME_TYPE_MAPS.put("mbox","application/mbox");
        MIME_TYPE_MAPS.put("mscml","application/mediaservercontrol+xml");
        MIME_TYPE_MAPS.put("meta4","application/metalink4+xml");
        MIME_TYPE_MAPS.put("mets","application/mets+xml");
        MIME_TYPE_MAPS.put("mods","application/mods+xml");
        MIME_TYPE_MAPS.put("m21","application/mp21");
        MIME_TYPE_MAPS.put("doc","application/msword");
        MIME_TYPE_MAPS.put("mxf","application/mxf");
        MIME_TYPE_MAPS.put("bin","application/octet-stream");
        MIME_TYPE_MAPS.put("oda","application/oda");
        MIME_TYPE_MAPS.put("opf","application/oebps-package+xml");
        MIME_TYPE_MAPS.put("ogx","application/ogg");
        MIME_TYPE_MAPS.put("onetoc","application/onenote");
        MIME_TYPE_MAPS.put("xer","application/patch-ops-error+xml");
        MIME_TYPE_MAPS.put("pdf","application/pdf");
        MIME_TYPE_MAPS.put("pgp","application/pgp-encrypted");
        MIME_TYPE_MAPS.put("prf","application/pics-rules");
        MIME_TYPE_MAPS.put("p10","application/pkcs10");
        MIME_TYPE_MAPS.put("p7m","application/pkcs7-mime");
        MIME_TYPE_MAPS.put("p7s","application/pkcs7-signature");
        MIME_TYPE_MAPS.put("p8","application/pkcs8");
        MIME_TYPE_MAPS.put("ac","application/pkix-attr-cert");
        MIME_TYPE_MAPS.put("cer","application/pkix-cert");
        MIME_TYPE_MAPS.put("crl","application/pkix-crl");
        MIME_TYPE_MAPS.put("pkipath","application/pkix-pkipath");
        MIME_TYPE_MAPS.put("pki","application/pkixcmp");
        MIME_TYPE_MAPS.put("pls","application/pls+xml");
        MIME_TYPE_MAPS.put("ai","application/postscript");
        MIME_TYPE_MAPS.put("cww","application/prs.cww");
        MIME_TYPE_MAPS.put("pskcxml","application/pskc+xml");
        MIME_TYPE_MAPS.put("rdf","application/rdf+xml");
        MIME_TYPE_MAPS.put("rif","application/reginfo+xml");
        MIME_TYPE_MAPS.put("rnc","application/relax-ng-compact-syntax");
        MIME_TYPE_MAPS.put("rl","application/resource-lists+xml");
        MIME_TYPE_MAPS.put("rld","application/resource-lists-diff+xml");
        MIME_TYPE_MAPS.put("rs","application/rls-services+xml");
        MIME_TYPE_MAPS.put("rsd","application/rsd+xml");
        MIME_TYPE_MAPS.put("rss, .xml","application/rss+xml");
        MIME_TYPE_MAPS.put("rtf","application/rtf");
        MIME_TYPE_MAPS.put("sbml","application/sbml+xml");
        MIME_TYPE_MAPS.put("scq","application/scvp-cv-request");
        MIME_TYPE_MAPS.put("scs","application/scvp-cv-response");
        MIME_TYPE_MAPS.put("spq","application/scvp-vp-request");
        MIME_TYPE_MAPS.put("spp","application/scvp-vp-response");
        MIME_TYPE_MAPS.put("sdp","application/sdp");
        MIME_TYPE_MAPS.put("setpay","application/set-payment-initiation");
        MIME_TYPE_MAPS.put("setreg","application/set-registration-initiation");
        MIME_TYPE_MAPS.put("shf","application/shf+xml");
        MIME_TYPE_MAPS.put("smi","application/smil+xml");
        MIME_TYPE_MAPS.put("rq","application/sparql-query");
        MIME_TYPE_MAPS.put("srx","application/sparql-results+xml");
        MIME_TYPE_MAPS.put("gram","application/srgs");
        MIME_TYPE_MAPS.put("grxml","application/srgs+xml");
        MIME_TYPE_MAPS.put("sru","application/sru+xml");
        MIME_TYPE_MAPS.put("ssml","application/ssml+xml");
        MIME_TYPE_MAPS.put("tei","application/tei+xml");
        MIME_TYPE_MAPS.put("tfi","application/thraud+xml");
        MIME_TYPE_MAPS.put("tsd","application/timestamped-data");
        MIME_TYPE_MAPS.put("plb","application/vnd.3gpp.pic-bw-large");
        MIME_TYPE_MAPS.put("psb","application/vnd.3gpp.pic-bw-small");
        MIME_TYPE_MAPS.put("pvb","application/vnd.3gpp.pic-bw-var");
        MIME_TYPE_MAPS.put("tcap","application/vnd.3gpp2.tcap");
        MIME_TYPE_MAPS.put("pwn","application/vnd.3m.post-it-notes");
        MIME_TYPE_MAPS.put("aso","application/vnd.accpac.simply.aso");
        MIME_TYPE_MAPS.put("imp","application/vnd.accpac.simply.imp");
        MIME_TYPE_MAPS.put("acu","application/vnd.acucobol");
        MIME_TYPE_MAPS.put("atc","application/vnd.acucorp");
        MIME_TYPE_MAPS.put("air","application/vnd.adobe.air-application-installer-package+zip");
        MIME_TYPE_MAPS.put("fxp","application/vnd.adobe.fxp");
        MIME_TYPE_MAPS.put("xdp","application/vnd.adobe.xdp+xml");
        MIME_TYPE_MAPS.put("xfdf","application/vnd.adobe.xfdf");
        MIME_TYPE_MAPS.put("ahead","application/vnd.ahead.space");
        MIME_TYPE_MAPS.put("azf","application/vnd.airzip.filesecure.azf");
        MIME_TYPE_MAPS.put("azs","application/vnd.airzip.filesecure.azs");
        MIME_TYPE_MAPS.put("azw","application/vnd.amazon.ebook");
        MIME_TYPE_MAPS.put("acc","application/vnd.americandynamics.acc");
        MIME_TYPE_MAPS.put("ami","application/vnd.amiga.ami");
        MIME_TYPE_MAPS.put("apk","application/vnd.android.package-archive");
        MIME_TYPE_MAPS.put("cii","application/vnd.anser-web-certificate-issue-initiation");
        MIME_TYPE_MAPS.put("fti","application/vnd.anser-web-funds-transfer-initiation");
        MIME_TYPE_MAPS.put("atx","application/vnd.antix.game-component");
        MIME_TYPE_MAPS.put("mpkg","application/vnd.apple.installer+xml");
        MIME_TYPE_MAPS.put("m3u8","application/vnd.apple.mpegurl");
        MIME_TYPE_MAPS.put("swi","application/vnd.aristanetworks.swi");
        MIME_TYPE_MAPS.put("aep","application/vnd.audiograph");
        MIME_TYPE_MAPS.put("mpm","application/vnd.blueice.multipass");
        MIME_TYPE_MAPS.put("bmi","application/vnd.bmi");
        MIME_TYPE_MAPS.put("rep","application/vnd.businessobjects");
        MIME_TYPE_MAPS.put("cdxml","application/vnd.chemdraw+xml");
        MIME_TYPE_MAPS.put("mmd","application/vnd.chipnuts.karaoke-mmd");
        MIME_TYPE_MAPS.put("cdy","application/vnd.cinderella");
        MIME_TYPE_MAPS.put("cla","application/vnd.claymore");
        MIME_TYPE_MAPS.put("rp9","application/vnd.cloanto.rp9");
        MIME_TYPE_MAPS.put("c4g","application/vnd.clonk.c4group");
        MIME_TYPE_MAPS.put("c11amc","application/vnd.cluetrust.cartomobile-config");
        MIME_TYPE_MAPS.put("c11amz","application/vnd.cluetrust.cartomobile-config-pkg");
        MIME_TYPE_MAPS.put("csp","application/vnd.commonspace");
        MIME_TYPE_MAPS.put("cdbcmsg","application/vnd.contact.cmsg");
        MIME_TYPE_MAPS.put("cmc","application/vnd.cosmocaller");
        MIME_TYPE_MAPS.put("clkx","application/vnd.crick.clicker");
        MIME_TYPE_MAPS.put("clkk","application/vnd.crick.clicker.keyboard");
        MIME_TYPE_MAPS.put("clkp","application/vnd.crick.clicker.palette");
        MIME_TYPE_MAPS.put("clkt","application/vnd.crick.clicker.template");
        MIME_TYPE_MAPS.put("clkw","application/vnd.crick.clicker.wordbank");
        MIME_TYPE_MAPS.put("wbs","application/vnd.criticaltools.wbs+xml");
        MIME_TYPE_MAPS.put("pml","application/vnd.ctc-posml");
        MIME_TYPE_MAPS.put("ppd","application/vnd.cups-ppd");
        MIME_TYPE_MAPS.put("car","application/vnd.curl.car");
        MIME_TYPE_MAPS.put("pcurl","application/vnd.curl.pcurl");
        MIME_TYPE_MAPS.put("rdz","application/vnd.data-vision.rdz");
        MIME_TYPE_MAPS.put("fe_launch","application/vnd.denovo.fcselayout-link");
        MIME_TYPE_MAPS.put("dna","application/vnd.dna");
        MIME_TYPE_MAPS.put("mlp","application/vnd.dolby.mlp");
        MIME_TYPE_MAPS.put("dpg","application/vnd.dpgraph");
        MIME_TYPE_MAPS.put("dfac","application/vnd.dreamfactory");
        MIME_TYPE_MAPS.put("ait","application/vnd.dvb.ait");
        MIME_TYPE_MAPS.put("svc","application/vnd.dvb.service");
        MIME_TYPE_MAPS.put("geo","application/vnd.dynageo");
        MIME_TYPE_MAPS.put("mag","application/vnd.ecowin.chart");
        MIME_TYPE_MAPS.put("nml","application/vnd.enliven");
        MIME_TYPE_MAPS.put("esf","application/vnd.epson.esf");
        MIME_TYPE_MAPS.put("msf","application/vnd.epson.msf");
        MIME_TYPE_MAPS.put("qam","application/vnd.epson.quickanime");
        MIME_TYPE_MAPS.put("slt","application/vnd.epson.salt");
        MIME_TYPE_MAPS.put("ssf","application/vnd.epson.ssf");
        MIME_TYPE_MAPS.put("es3","application/vnd.eszigno3+xml");
        MIME_TYPE_MAPS.put("ez2","application/vnd.ezpix-album");
        MIME_TYPE_MAPS.put("ez3","application/vnd.ezpix-package");
        MIME_TYPE_MAPS.put("fdf","application/vnd.fdf");
        MIME_TYPE_MAPS.put("seed","application/vnd.fdsn.seed");
        MIME_TYPE_MAPS.put("gph","application/vnd.flographit");
        MIME_TYPE_MAPS.put("ftc","application/vnd.fluxtime.clip");
        MIME_TYPE_MAPS.put("fm","application/vnd.framemaker");
        MIME_TYPE_MAPS.put("fnc","application/vnd.frogans.fnc");
        MIME_TYPE_MAPS.put("ltf","application/vnd.frogans.ltf");
        MIME_TYPE_MAPS.put("fsc","application/vnd.fsc.weblaunch");
        MIME_TYPE_MAPS.put("oas","application/vnd.fujitsu.oasys");
        MIME_TYPE_MAPS.put("oa2","application/vnd.fujitsu.oasys2");
        MIME_TYPE_MAPS.put("oa3","application/vnd.fujitsu.oasys3");
        MIME_TYPE_MAPS.put("fg5","application/vnd.fujitsu.oasysgp");
        MIME_TYPE_MAPS.put("bh2","application/vnd.fujitsu.oasysprs");
        MIME_TYPE_MAPS.put("ddd","application/vnd.fujixerox.ddd");
        MIME_TYPE_MAPS.put("xdw","application/vnd.fujixerox.docuworks");
        MIME_TYPE_MAPS.put("xbd","application/vnd.fujixerox.docuworks.binder");
        MIME_TYPE_MAPS.put("fzs","application/vnd.fuzzysheet");
        MIME_TYPE_MAPS.put("txd","application/vnd.genomatix.tuxedo");
        MIME_TYPE_MAPS.put("ggb","application/vnd.geogebra.file");
        MIME_TYPE_MAPS.put("ggt","application/vnd.geogebra.tool");
        MIME_TYPE_MAPS.put("gex","application/vnd.geometry-explorer");
        MIME_TYPE_MAPS.put("gxt","application/vnd.geonext");
        MIME_TYPE_MAPS.put("g2w","application/vnd.geoplan");
        MIME_TYPE_MAPS.put("g3w","application/vnd.geospace");
        MIME_TYPE_MAPS.put("gmx","application/vnd.gmx");
        MIME_TYPE_MAPS.put("kml","application/vnd.google-earth.kml+xml");
        MIME_TYPE_MAPS.put("kmz","application/vnd.google-earth.kmz");
        MIME_TYPE_MAPS.put("gqf","application/vnd.grafeq");
        MIME_TYPE_MAPS.put("gac","application/vnd.groove-account");
        MIME_TYPE_MAPS.put("ghf","application/vnd.groove-help");
        MIME_TYPE_MAPS.put("gim","application/vnd.groove-identity-message");
        MIME_TYPE_MAPS.put("grv","application/vnd.groove-injector");
        MIME_TYPE_MAPS.put("gtm","application/vnd.groove-tool-message");
        MIME_TYPE_MAPS.put("tpl","application/vnd.groove-tool-template");
        MIME_TYPE_MAPS.put("vcg","application/vnd.groove-vcard");
        MIME_TYPE_MAPS.put("hal","application/vnd.hal+xml");
        MIME_TYPE_MAPS.put("zmm","application/vnd.handheld-entertainment+xml");
        MIME_TYPE_MAPS.put("hbci","application/vnd.hbci");
        MIME_TYPE_MAPS.put("les","application/vnd.hhe.lesson-player");
        MIME_TYPE_MAPS.put("hpgl","application/vnd.hp-hpgl");
        MIME_TYPE_MAPS.put("hpid","application/vnd.hp-hpid");
        MIME_TYPE_MAPS.put("hps","application/vnd.hp-hps");
        MIME_TYPE_MAPS.put("jlt","application/vnd.hp-jlyt");
        MIME_TYPE_MAPS.put("pcl","application/vnd.hp-pcl");
        MIME_TYPE_MAPS.put("pclxl","application/vnd.hp-pclxl");
        MIME_TYPE_MAPS.put("sfd-hdstx","application/vnd.hydrostatix.sof-data");
        MIME_TYPE_MAPS.put("x3d","application/vnd.hzn-3d-crossword");
        MIME_TYPE_MAPS.put("mpy","application/vnd.ibm.minipay");
        MIME_TYPE_MAPS.put("afp","application/vnd.ibm.modcap");
        MIME_TYPE_MAPS.put("irm","application/vnd.ibm.rights-management");
        MIME_TYPE_MAPS.put("sc","application/vnd.ibm.secure-container");
        MIME_TYPE_MAPS.put("icc","application/vnd.iccprofile");
        MIME_TYPE_MAPS.put("igl","application/vnd.igloader");
        MIME_TYPE_MAPS.put("ivp","application/vnd.immervision-ivp");
        MIME_TYPE_MAPS.put("ivu","application/vnd.immervision-ivu");
        MIME_TYPE_MAPS.put("igm","application/vnd.insors.igm");
        MIME_TYPE_MAPS.put("xpw","application/vnd.intercon.formnet");
        MIME_TYPE_MAPS.put("i2g","application/vnd.intergeo");
        MIME_TYPE_MAPS.put("qbo","application/vnd.intu.qbo");
        MIME_TYPE_MAPS.put("qfx","application/vnd.intu.qfx");
        MIME_TYPE_MAPS.put("rcprofile","application/vnd.ipunplugged.rcprofile");
        MIME_TYPE_MAPS.put("irp","application/vnd.irepository.package+xml");
        MIME_TYPE_MAPS.put("xpr","application/vnd.is-xpr");
        MIME_TYPE_MAPS.put("fcs","application/vnd.isac.fcs");
        MIME_TYPE_MAPS.put("jam","application/vnd.jam");
        MIME_TYPE_MAPS.put("rms","application/vnd.jcp.javame.midlet-rms");
        MIME_TYPE_MAPS.put("jisp","application/vnd.jisp");
        MIME_TYPE_MAPS.put("joda","application/vnd.joost.joda-archive");
        MIME_TYPE_MAPS.put("ktz","application/vnd.kahootz");
        MIME_TYPE_MAPS.put("karbon","application/vnd.kde.karbon");
        MIME_TYPE_MAPS.put("chrt","application/vnd.kde.kchart");
        MIME_TYPE_MAPS.put("kfo","application/vnd.kde.kformula");
        MIME_TYPE_MAPS.put("flw","application/vnd.kde.kivio");
        MIME_TYPE_MAPS.put("kon","application/vnd.kde.kontour");
        MIME_TYPE_MAPS.put("kpr","application/vnd.kde.kpresenter");
        MIME_TYPE_MAPS.put("ksp","application/vnd.kde.kspread");
        MIME_TYPE_MAPS.put("kwd","application/vnd.kde.kword");
        MIME_TYPE_MAPS.put("htke","application/vnd.kenameaapp");
        MIME_TYPE_MAPS.put("kia","application/vnd.kidspiration");
        MIME_TYPE_MAPS.put("kne","application/vnd.kinar");
        MIME_TYPE_MAPS.put("skp","application/vnd.koan");
        MIME_TYPE_MAPS.put("sse","application/vnd.kodak-descriptor");
        MIME_TYPE_MAPS.put("lasxml","application/vnd.las.las+xml");
        MIME_TYPE_MAPS.put("lbd","application/vnd.llamagraphics.life-balance.desktop");
        MIME_TYPE_MAPS.put("lbe","application/vnd.llamagraphics.life-balance.exchange+xml");
        MIME_TYPE_MAPS.put("0.123","application/vnd.lotus-1-2-3");
        MIME_TYPE_MAPS.put("apr","application/vnd.lotus-approach");
        MIME_TYPE_MAPS.put("pre","application/vnd.lotus-freelance");
        MIME_TYPE_MAPS.put("nsf","application/vnd.lotus-notes");
        MIME_TYPE_MAPS.put("org","application/vnd.lotus-organizer");
        MIME_TYPE_MAPS.put("scm","application/vnd.lotus-screencam");
        MIME_TYPE_MAPS.put("lwp","application/vnd.lotus-wordpro");
        MIME_TYPE_MAPS.put("portpkg","application/vnd.macports.portpkg");
        MIME_TYPE_MAPS.put("mcd","application/vnd.mcd");
        MIME_TYPE_MAPS.put("mc1","application/vnd.medcalcdata");
        MIME_TYPE_MAPS.put("cdkey","application/vnd.mediastation.cdkey");
        MIME_TYPE_MAPS.put("mwf","application/vnd.mfer");
        MIME_TYPE_MAPS.put("mfm","application/vnd.mfmp");
        MIME_TYPE_MAPS.put("flo","application/vnd.micrografx.flo");
        MIME_TYPE_MAPS.put("igx","application/vnd.micrografx.igx");
        MIME_TYPE_MAPS.put("mif","application/vnd.mif");
        MIME_TYPE_MAPS.put("daf","application/vnd.mobius.daf");
        MIME_TYPE_MAPS.put("dis","application/vnd.mobius.dis");
        MIME_TYPE_MAPS.put("mbk","application/vnd.mobius.mbk");
        MIME_TYPE_MAPS.put("mqy","application/vnd.mobius.mqy");
        MIME_TYPE_MAPS.put("msl","application/vnd.mobius.msl");
        MIME_TYPE_MAPS.put("plc","application/vnd.mobius.plc");
        MIME_TYPE_MAPS.put("txf","application/vnd.mobius.txf");
        MIME_TYPE_MAPS.put("mpn","application/vnd.mophun.application");
        MIME_TYPE_MAPS.put("mpc","application/vnd.mophun.certificate");
        MIME_TYPE_MAPS.put("xul","application/vnd.mozilla.xul+xml");
        MIME_TYPE_MAPS.put("cil","application/vnd.ms-artgalry");
        MIME_TYPE_MAPS.put("cab","application/vnd.ms-cab-compressed");
        MIME_TYPE_MAPS.put("xls","application/vnd.ms-excel");
        MIME_TYPE_MAPS.put("xlam","application/vnd.ms-excel.addin.macroenabled.12");
        MIME_TYPE_MAPS.put("xlsb","application/vnd.ms-excel.sheet.binary.macroenabled.12");
        MIME_TYPE_MAPS.put("xlsm","application/vnd.ms-excel.sheet.macroenabled.12");
        MIME_TYPE_MAPS.put("xltm","application/vnd.ms-excel.template.macroenabled.12");
        MIME_TYPE_MAPS.put("eot","application/vnd.ms-fontobject");
        MIME_TYPE_MAPS.put("chm","application/vnd.ms-htmlhelp");
        MIME_TYPE_MAPS.put("ims","application/vnd.ms-ims");
        MIME_TYPE_MAPS.put("lrm","application/vnd.ms-lrm");
        MIME_TYPE_MAPS.put("thmx","application/vnd.ms-officetheme");
        MIME_TYPE_MAPS.put("cat","application/vnd.ms-pki.seccat");
        MIME_TYPE_MAPS.put("stl","application/vnd.ms-pki.stl");
        MIME_TYPE_MAPS.put("ppt","application/vnd.ms-powerpoint");
        MIME_TYPE_MAPS.put("ppam","application/vnd.ms-powerpoint.addin.macroenabled.12");
        MIME_TYPE_MAPS.put("pptm","application/vnd.ms-powerpoint.presentation.macroenabled.12");
        MIME_TYPE_MAPS.put("sldm","application/vnd.ms-powerpoint.slide.macroenabled.12");
        MIME_TYPE_MAPS.put("ppsm","application/vnd.ms-powerpoint.slideshow.macroenabled.12");
        MIME_TYPE_MAPS.put("potm","application/vnd.ms-powerpoint.template.macroenabled.12");
        MIME_TYPE_MAPS.put("mpp","application/vnd.ms-project");
        MIME_TYPE_MAPS.put("docm","application/vnd.ms-word.document.macroenabled.12");
        MIME_TYPE_MAPS.put("dotm","application/vnd.ms-word.template.macroenabled.12");
        MIME_TYPE_MAPS.put("wps","application/vnd.ms-works");
        MIME_TYPE_MAPS.put("wpl","application/vnd.ms-wpl");
        MIME_TYPE_MAPS.put("xps","application/vnd.ms-xpsdocument");
        MIME_TYPE_MAPS.put("mseq","application/vnd.mseq");
        MIME_TYPE_MAPS.put("mus","application/vnd.musician");
        MIME_TYPE_MAPS.put("msty","application/vnd.muvee.style");
        MIME_TYPE_MAPS.put("nlu","application/vnd.neurolanguage.nlu");
        MIME_TYPE_MAPS.put("nnd","application/vnd.noblenet-directory");
        MIME_TYPE_MAPS.put("nns","application/vnd.noblenet-sealer");
        MIME_TYPE_MAPS.put("nnw","application/vnd.noblenet-web");
        MIME_TYPE_MAPS.put("ngdat","application/vnd.nokia.n-gage.data");
        MIME_TYPE_MAPS.put("n-gage","application/vnd.nokia.n-gage.symbian.install");
        MIME_TYPE_MAPS.put("rpst","application/vnd.nokia.radio-preset");
        MIME_TYPE_MAPS.put("rpss","application/vnd.nokia.radio-presets");
        MIME_TYPE_MAPS.put("edm","application/vnd.novadigm.edm");
        MIME_TYPE_MAPS.put("edx","application/vnd.novadigm.edx");
        MIME_TYPE_MAPS.put("ext","application/vnd.novadigm.ext");
        MIME_TYPE_MAPS.put("odc","application/vnd.oasis.opendocument.chart");
        MIME_TYPE_MAPS.put("otc","application/vnd.oasis.opendocument.chart-template");
        MIME_TYPE_MAPS.put("odb","application/vnd.oasis.opendocument.database");
        MIME_TYPE_MAPS.put("odf","application/vnd.oasis.opendocument.formula");
        MIME_TYPE_MAPS.put("odft","application/vnd.oasis.opendocument.formula-template");
        MIME_TYPE_MAPS.put("odg","application/vnd.oasis.opendocument.graphics");
        MIME_TYPE_MAPS.put("otg","application/vnd.oasis.opendocument.graphics-template");
        MIME_TYPE_MAPS.put("odi","application/vnd.oasis.opendocument.image");
        MIME_TYPE_MAPS.put("oti","application/vnd.oasis.opendocument.image-template");
        MIME_TYPE_MAPS.put("odp","application/vnd.oasis.opendocument.presentation");
        MIME_TYPE_MAPS.put("otp","application/vnd.oasis.opendocument.presentation-template");
        MIME_TYPE_MAPS.put("ods","application/vnd.oasis.opendocument.spreadsheet");
        MIME_TYPE_MAPS.put("ots","application/vnd.oasis.opendocument.spreadsheet-template");
        MIME_TYPE_MAPS.put("odt","application/vnd.oasis.opendocument.text");
        MIME_TYPE_MAPS.put("odm","application/vnd.oasis.opendocument.text-master");
        MIME_TYPE_MAPS.put("ott","application/vnd.oasis.opendocument.text-template");
        MIME_TYPE_MAPS.put("oth","application/vnd.oasis.opendocument.text-web");
        MIME_TYPE_MAPS.put("xo","application/vnd.olpc-sugar");
        MIME_TYPE_MAPS.put("dd2","application/vnd.oma.dd2+xml");
        MIME_TYPE_MAPS.put("oxt","application/vnd.openofficeorg.extension");
        MIME_TYPE_MAPS.put("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation");
        MIME_TYPE_MAPS.put("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide");
        MIME_TYPE_MAPS.put("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow");
        MIME_TYPE_MAPS.put("potx","application/vnd.openxmlformats-officedocument.presentationml.template");
        MIME_TYPE_MAPS.put("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
        MIME_TYPE_MAPS.put("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template");
        MIME_TYPE_MAPS.put("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document");
        MIME_TYPE_MAPS.put("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template");
        MIME_TYPE_MAPS.put("mgp","application/vnd.osgeo.mapguide.package");
        MIME_TYPE_MAPS.put("dp","application/vnd.osgi.dp");
        MIME_TYPE_MAPS.put("pdb","application/vnd.palm");
        MIME_TYPE_MAPS.put("paw","application/vnd.pawaafile");
        MIME_TYPE_MAPS.put("str","application/vnd.pg.format");
        MIME_TYPE_MAPS.put("ei6","application/vnd.pg.osasli");
        MIME_TYPE_MAPS.put("efif","application/vnd.picsel");
        MIME_TYPE_MAPS.put("wg","application/vnd.pmi.widget");
        MIME_TYPE_MAPS.put("plf","application/vnd.pocketlearn");
        MIME_TYPE_MAPS.put("pbd","application/vnd.powerbuilder6");
        MIME_TYPE_MAPS.put("box","application/vnd.previewsystems.box");
        MIME_TYPE_MAPS.put("mgz","application/vnd.proteus.magazine");
        MIME_TYPE_MAPS.put("qps","application/vnd.publishare-delta-tree");
        MIME_TYPE_MAPS.put("ptid","application/vnd.pvi.ptid1");
        MIME_TYPE_MAPS.put("qxd","application/vnd.quark.quarkxpress");
        MIME_TYPE_MAPS.put("bed","application/vnd.realvnc.bed");
        MIME_TYPE_MAPS.put("mxl","application/vnd.recordare.musicxml");
        MIME_TYPE_MAPS.put("musicxml","application/vnd.recordare.musicxml+xml");
        MIME_TYPE_MAPS.put("cryptonote","application/vnd.rig.cryptonote");
        MIME_TYPE_MAPS.put("cod","application/vnd.rim.cod");
        MIME_TYPE_MAPS.put("rm","application/vnd.rn-realmedia");
        MIME_TYPE_MAPS.put("link66","application/vnd.route66.link66+xml");
        MIME_TYPE_MAPS.put("st","application/vnd.sailingtracker.track");
        MIME_TYPE_MAPS.put("see","application/vnd.seemail");
        MIME_TYPE_MAPS.put("sema","application/vnd.sema");
        MIME_TYPE_MAPS.put("semd","application/vnd.semd");
        MIME_TYPE_MAPS.put("semf","application/vnd.semf");
        MIME_TYPE_MAPS.put("ifm","application/vnd.shana.informed.formdata");
        MIME_TYPE_MAPS.put("itp","application/vnd.shana.informed.formtemplate");
        MIME_TYPE_MAPS.put("iif","application/vnd.shana.informed.interchange");
        MIME_TYPE_MAPS.put("ipk","application/vnd.shana.informed.package");
        MIME_TYPE_MAPS.put("twd","application/vnd.simtech-mindmapper");
        MIME_TYPE_MAPS.put("mmf","application/vnd.smaf");
        MIME_TYPE_MAPS.put("teacher","application/vnd.smart.teacher");
        MIME_TYPE_MAPS.put("sdkm","application/vnd.solent.sdkm+xml");
        MIME_TYPE_MAPS.put("dxp","application/vnd.spotfire.dxp");
        MIME_TYPE_MAPS.put("sfs","application/vnd.spotfire.sfs");
        MIME_TYPE_MAPS.put("sdc","application/vnd.stardivision.calc");
        MIME_TYPE_MAPS.put("sda","application/vnd.stardivision.draw");
        MIME_TYPE_MAPS.put("sdd","application/vnd.stardivision.impress");
        MIME_TYPE_MAPS.put("smf","application/vnd.stardivision.math");
        MIME_TYPE_MAPS.put("sdw","application/vnd.stardivision.writer");
        MIME_TYPE_MAPS.put("sgl","application/vnd.stardivision.writer-global");
        MIME_TYPE_MAPS.put("sm","application/vnd.stepmania.stepchart");
        MIME_TYPE_MAPS.put("sxc","application/vnd.sun.xml.calc");
        MIME_TYPE_MAPS.put("stc","application/vnd.sun.xml.calc.template");
        MIME_TYPE_MAPS.put("sxd","application/vnd.sun.xml.draw");
        MIME_TYPE_MAPS.put("std","application/vnd.sun.xml.draw.template");
        MIME_TYPE_MAPS.put("sxi","application/vnd.sun.xml.impress");
        MIME_TYPE_MAPS.put("sti","application/vnd.sun.xml.impress.template");
        MIME_TYPE_MAPS.put("sxm","application/vnd.sun.xml.math");
        MIME_TYPE_MAPS.put("sxw","application/vnd.sun.xml.writer");
        MIME_TYPE_MAPS.put("sxg","application/vnd.sun.xml.writer.global");
        MIME_TYPE_MAPS.put("stw","application/vnd.sun.xml.writer.template");
        MIME_TYPE_MAPS.put("sus","application/vnd.sus-calendar");
        MIME_TYPE_MAPS.put("svd","application/vnd.svd");
        MIME_TYPE_MAPS.put("sis","application/vnd.symbian.install");
        MIME_TYPE_MAPS.put("xsm","application/vnd.syncml+xml");
        MIME_TYPE_MAPS.put("bdm","application/vnd.syncml.dm+wbxml");
        MIME_TYPE_MAPS.put("xdm","application/vnd.syncml.dm+xml");
        MIME_TYPE_MAPS.put("tao","application/vnd.tao.intent-module-archive");
        MIME_TYPE_MAPS.put("tmo","application/vnd.tmobile-livetv");
        MIME_TYPE_MAPS.put("tpt","application/vnd.trid.tpt");
        MIME_TYPE_MAPS.put("mxs","application/vnd.triscape.mxs");
        MIME_TYPE_MAPS.put("tra","application/vnd.trueapp");
        MIME_TYPE_MAPS.put("ufd","application/vnd.ufdl");
        MIME_TYPE_MAPS.put("utz","application/vnd.uiq.theme");
        MIME_TYPE_MAPS.put("umj","application/vnd.umajin");
        MIME_TYPE_MAPS.put("unityweb","application/vnd.unity");
        MIME_TYPE_MAPS.put("uoml","application/vnd.uoml+xml");
        MIME_TYPE_MAPS.put("vcx","application/vnd.vcx");
        MIME_TYPE_MAPS.put("vsd","application/vnd.visio");
        MIME_TYPE_MAPS.put("vsdx","application/vnd.visio2013");
        MIME_TYPE_MAPS.put("vis","application/vnd.visionary");
        MIME_TYPE_MAPS.put("vsf","application/vnd.vsf");
        MIME_TYPE_MAPS.put("wbxml","application/vnd.wap.wbxml");
        MIME_TYPE_MAPS.put("wmlc","application/vnd.wap.wmlc");
        MIME_TYPE_MAPS.put("wmlsc","application/vnd.wap.wmlscriptc");
        MIME_TYPE_MAPS.put("wtb","application/vnd.webturbo");
        MIME_TYPE_MAPS.put("nbp","application/vnd.wolfram.player");
        MIME_TYPE_MAPS.put("wpd","application/vnd.wordperfect");
        MIME_TYPE_MAPS.put("wqd","application/vnd.wqd");
        MIME_TYPE_MAPS.put("stf","application/vnd.wt.stf");
        MIME_TYPE_MAPS.put("xar","application/vnd.xara");
        MIME_TYPE_MAPS.put("xfdl","application/vnd.xfdl");
        MIME_TYPE_MAPS.put("hvd","application/vnd.yamaha.hv-dic");
        MIME_TYPE_MAPS.put("hvs","application/vnd.yamaha.hv-script");
        MIME_TYPE_MAPS.put("hvp","application/vnd.yamaha.hv-voice");
        MIME_TYPE_MAPS.put("osf","application/vnd.yamaha.openscoreformat");
        MIME_TYPE_MAPS.put("osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml");
        MIME_TYPE_MAPS.put("saf","application/vnd.yamaha.smaf-audio");
        MIME_TYPE_MAPS.put("spf","application/vnd.yamaha.smaf-phrase");
        MIME_TYPE_MAPS.put("cmp","application/vnd.yellowriver-custom-menu");
        MIME_TYPE_MAPS.put("zir","application/vnd.zul");
        MIME_TYPE_MAPS.put("zaz","application/vnd.zzazz.deck+xml");
        MIME_TYPE_MAPS.put("vxml","application/voicexml+xml");
        MIME_TYPE_MAPS.put("wgt","application/widget");
        MIME_TYPE_MAPS.put("hlp","application/winhlp");
        MIME_TYPE_MAPS.put("wsdl","application/wsdl+xml");
        MIME_TYPE_MAPS.put("wspolicy","application/wspolicy+xml");
        MIME_TYPE_MAPS.put("7z","application/x-7z-compressed");
        MIME_TYPE_MAPS.put("abw","application/x-abiword");
        MIME_TYPE_MAPS.put("ace","application/x-ace-compressed");
        MIME_TYPE_MAPS.put("aab","application/x-authorware-bin");
        MIME_TYPE_MAPS.put("aam","application/x-authorware-map");
        MIME_TYPE_MAPS.put("aas","application/x-authorware-seg");
        MIME_TYPE_MAPS.put("bcpio","application/x-bcpio");
        MIME_TYPE_MAPS.put("torrent","application/x-bittorrent");
        MIME_TYPE_MAPS.put("bz","application/x-bzip");
        MIME_TYPE_MAPS.put("bz2","application/x-bzip2");
        MIME_TYPE_MAPS.put("vcd","application/x-cdlink");
        MIME_TYPE_MAPS.put("chat","application/x-chat");
        MIME_TYPE_MAPS.put("pgn","application/x-chess-pgn");
        MIME_TYPE_MAPS.put("cpio","application/x-cpio");
        MIME_TYPE_MAPS.put("csh","application/x-csh");
        MIME_TYPE_MAPS.put("deb","application/x-debian-package");
        MIME_TYPE_MAPS.put("dir","application/x-director");
        MIME_TYPE_MAPS.put("wad","application/x-doom");
        MIME_TYPE_MAPS.put("ncx","application/x-dtbncx+xml");
        MIME_TYPE_MAPS.put("dtb","application/x-dtbook+xml");
        MIME_TYPE_MAPS.put("res","application/x-dtbresource+xml");
        MIME_TYPE_MAPS.put("dvi","application/x-dvi");
        MIME_TYPE_MAPS.put("bdf","application/x-font-bdf");
        MIME_TYPE_MAPS.put("gsf","application/x-font-ghostscript");
        MIME_TYPE_MAPS.put("psf","application/x-font-linux-psf");
        MIME_TYPE_MAPS.put("otf","application/x-font-otf");
        MIME_TYPE_MAPS.put("pcf","application/x-font-pcf");
        MIME_TYPE_MAPS.put("snf","application/x-font-snf");
        MIME_TYPE_MAPS.put("ttf","application/x-font-ttf");
        MIME_TYPE_MAPS.put("pfa","application/x-font-type1");
        MIME_TYPE_MAPS.put("woff","application/x-font-woff");
        MIME_TYPE_MAPS.put("spl","application/x-futuresplash");
        MIME_TYPE_MAPS.put("gnumeric","application/x-gnumeric");
        MIME_TYPE_MAPS.put("gtar","application/x-gtar");
        MIME_TYPE_MAPS.put("hdf","application/x-hdf");
        MIME_TYPE_MAPS.put("jnlp","application/x-java-jnlp-file");
        MIME_TYPE_MAPS.put("latex","application/x-latex");
        MIME_TYPE_MAPS.put("prc","application/x-mobipocket-ebook");
        MIME_TYPE_MAPS.put("application","application/x-ms-application");
        MIME_TYPE_MAPS.put("wmd","application/x-ms-wmd");
        MIME_TYPE_MAPS.put("wmz","application/x-ms-wmz");
        MIME_TYPE_MAPS.put("xbap","application/x-ms-xbap");
        MIME_TYPE_MAPS.put("mdb","application/x-msaccess");
        MIME_TYPE_MAPS.put("obd","application/x-msbinder");
        MIME_TYPE_MAPS.put("crd","application/x-mscardfile");
        MIME_TYPE_MAPS.put("clp","application/x-msclip");
        MIME_TYPE_MAPS.put("exe","application/x-msdownload");
        MIME_TYPE_MAPS.put("mvb","application/x-msmediaview");
        MIME_TYPE_MAPS.put("wmf","application/x-msmetafile");
        MIME_TYPE_MAPS.put("mny","application/x-msmoney");
        MIME_TYPE_MAPS.put("pub","application/x-mspublisher");
        MIME_TYPE_MAPS.put("scd","application/x-msschedule");
        MIME_TYPE_MAPS.put("trm","application/x-msterminal");
        MIME_TYPE_MAPS.put("wri","application/x-mswrite");
        MIME_TYPE_MAPS.put("nc","application/x-netcdf");
        MIME_TYPE_MAPS.put("p12","application/x-pkcs12");
        MIME_TYPE_MAPS.put("p7b","application/x-pkcs7-certificates");
        MIME_TYPE_MAPS.put("p7r","application/x-pkcs7-certreqresp");
        MIME_TYPE_MAPS.put("rar","application/x-rar-compressed");
        MIME_TYPE_MAPS.put("sh","application/x-sh");
        MIME_TYPE_MAPS.put("shar","application/x-shar");
        MIME_TYPE_MAPS.put("swf","application/x-shockwave-flash");
        MIME_TYPE_MAPS.put("xap","application/x-silverlight-app");
        MIME_TYPE_MAPS.put("sit","application/x-stuffit");
        MIME_TYPE_MAPS.put("sitx","application/x-stuffitx");
        MIME_TYPE_MAPS.put("sv4cpio","application/x-sv4cpio");
        MIME_TYPE_MAPS.put("sv4crc","application/x-sv4crc");
        MIME_TYPE_MAPS.put("tar","application/x-tar");
        MIME_TYPE_MAPS.put("tcl","application/x-tcl");
        MIME_TYPE_MAPS.put("tex","application/x-tex");
        MIME_TYPE_MAPS.put("tfm","application/x-tex-tfm");
        MIME_TYPE_MAPS.put("texinfo","application/x-texinfo");
        MIME_TYPE_MAPS.put("ustar","application/x-ustar");
        MIME_TYPE_MAPS.put("src","application/x-wais-source");
        MIME_TYPE_MAPS.put("der","application/x-x509-ca-cert");
        MIME_TYPE_MAPS.put("fig","application/x-xfig");
        MIME_TYPE_MAPS.put("xpi","application/x-xpinstall");
        MIME_TYPE_MAPS.put("xdf","application/xcap-diff+xml");
        MIME_TYPE_MAPS.put("xenc","application/xenc+xml");
        MIME_TYPE_MAPS.put("xhtml","application/xhtml+xml");
        MIME_TYPE_MAPS.put("xml","application/xml");
        MIME_TYPE_MAPS.put("dtd","application/xml-dtd");
        MIME_TYPE_MAPS.put("xop","application/xop+xml");
        MIME_TYPE_MAPS.put("xslt","application/xslt+xml");
        MIME_TYPE_MAPS.put("xspf","application/xspf+xml");
        MIME_TYPE_MAPS.put("mxml","application/xv+xml");
        MIME_TYPE_MAPS.put("yang","application/yang");
        MIME_TYPE_MAPS.put("yin","application/yin+xml");
        MIME_TYPE_MAPS.put("zip","application/zip");
        MIME_TYPE_MAPS.put("adp","audio/adpcm");
        MIME_TYPE_MAPS.put("au","audio/basic");
        MIME_TYPE_MAPS.put("mid","audio/midi");
        MIME_TYPE_MAPS.put("mp4a","audio/mp4");
        MIME_TYPE_MAPS.put("mpga","audio/mpeg");
        MIME_TYPE_MAPS.put("oga","audio/ogg");
        MIME_TYPE_MAPS.put("uva","audio/vnd.dece.audio");
        MIME_TYPE_MAPS.put("eol","audio/vnd.digital-winds");
        MIME_TYPE_MAPS.put("dra","audio/vnd.dra");
        MIME_TYPE_MAPS.put("dts","audio/vnd.dts");
        MIME_TYPE_MAPS.put("dtshd","audio/vnd.dts.hd");
        MIME_TYPE_MAPS.put("lvp","audio/vnd.lucent.voice");
        MIME_TYPE_MAPS.put("pya","audio/vnd.ms-playready.media.pya");
        MIME_TYPE_MAPS.put("ecelp4800","audio/vnd.nuera.ecelp4800");
        MIME_TYPE_MAPS.put("ecelp7470","audio/vnd.nuera.ecelp7470");
        MIME_TYPE_MAPS.put("ecelp9600","audio/vnd.nuera.ecelp9600");
        MIME_TYPE_MAPS.put("rip","audio/vnd.rip");
        MIME_TYPE_MAPS.put("weba","audio/webm");
        MIME_TYPE_MAPS.put("aac","audio/x-aac");
        MIME_TYPE_MAPS.put("aif","audio/x-aiff");
        MIME_TYPE_MAPS.put("m3u","audio/x-mpegurl");
        MIME_TYPE_MAPS.put("wax","audio/x-ms-wax");
        MIME_TYPE_MAPS.put("wma","audio/x-ms-wma");
        MIME_TYPE_MAPS.put("ram","audio/x-pn-realaudio");
        MIME_TYPE_MAPS.put("rmp","audio/x-pn-realaudio-plugin");
        MIME_TYPE_MAPS.put("wav","audio/x-wav");
        MIME_TYPE_MAPS.put("cdx","chemical/x-cdx");
        MIME_TYPE_MAPS.put("cif","chemical/x-cif");
        MIME_TYPE_MAPS.put("cmdf","chemical/x-cmdf");
        MIME_TYPE_MAPS.put("cml","chemical/x-cml");
        MIME_TYPE_MAPS.put("csml","chemical/x-csml");
        MIME_TYPE_MAPS.put("xyz","chemical/x-xyz");
        MIME_TYPE_MAPS.put("bmp","image/bmp");
        MIME_TYPE_MAPS.put("cgm","image/cgm");
        MIME_TYPE_MAPS.put("g3","image/g3fax");
        MIME_TYPE_MAPS.put("gif","image/gif");
        MIME_TYPE_MAPS.put("ief","image/ief");
        MIME_TYPE_MAPS.put("jpeg","image/jpeg");
        MIME_TYPE_MAPS.put("jpg","image/jpeg");
        MIME_TYPE_MAPS.put("pjpeg","image/pjpeg");
        MIME_TYPE_MAPS.put("ktx","image/ktx");
        MIME_TYPE_MAPS.put("png","image/png");
        MIME_TYPE_MAPS.put("btif","image/prs.btif");
        MIME_TYPE_MAPS.put("svg","image/svg+xml");
        MIME_TYPE_MAPS.put("tiff","image/tiff");
        MIME_TYPE_MAPS.put("psd","image/vnd.adobe.photoshop");
        MIME_TYPE_MAPS.put("uvi","image/vnd.dece.graphic");
        MIME_TYPE_MAPS.put("sub","image/vnd.dvb.subtitle");
        MIME_TYPE_MAPS.put("djvu","image/vnd.djvu");
        MIME_TYPE_MAPS.put("dwg","image/vnd.dwg");
        MIME_TYPE_MAPS.put("dxf","image/vnd.dxf");
        MIME_TYPE_MAPS.put("fbs","image/vnd.fastbidsheet");
        MIME_TYPE_MAPS.put("fpx","image/vnd.fpx");
        MIME_TYPE_MAPS.put("fst","image/vnd.fst");
        MIME_TYPE_MAPS.put("mmr","image/vnd.fujixerox.edmics-mmr");
        MIME_TYPE_MAPS.put("rlc","image/vnd.fujixerox.edmics-rlc");
        MIME_TYPE_MAPS.put("mdi","image/vnd.ms-modi");
        MIME_TYPE_MAPS.put("npx","image/vnd.net-fpx");
        MIME_TYPE_MAPS.put("wbmp","image/vnd.wap.wbmp");
        MIME_TYPE_MAPS.put("xif","image/vnd.xiff");
        MIME_TYPE_MAPS.put("webp","image/webp");
        MIME_TYPE_MAPS.put("ras","image/x-cmu-raster");
        MIME_TYPE_MAPS.put("cmx","image/x-cmx");
        MIME_TYPE_MAPS.put("fh","image/x-freehand");
        MIME_TYPE_MAPS.put("ico","image/x-icon");
        MIME_TYPE_MAPS.put("pcx","image/x-pcx");
        MIME_TYPE_MAPS.put("pic","image/x-pict");
        MIME_TYPE_MAPS.put("pnm","image/x-portable-anymap");
        MIME_TYPE_MAPS.put("pbm","image/x-portable-bitmap");
        MIME_TYPE_MAPS.put("pgm","image/x-portable-graymap");
        MIME_TYPE_MAPS.put("ppm","image/x-portable-pixmap");
        MIME_TYPE_MAPS.put("rgb","image/x-rgb");
        MIME_TYPE_MAPS.put("xbm","image/x-xbitmap");
        MIME_TYPE_MAPS.put("xpm","image/x-xpixmap");
        MIME_TYPE_MAPS.put("xwd","image/x-xwindowdump");
        MIME_TYPE_MAPS.put("eml","message/rfc822");
        MIME_TYPE_MAPS.put("igs","model/iges");
        MIME_TYPE_MAPS.put("msh","model/mesh");
        MIME_TYPE_MAPS.put("dae","model/vnd.collada+xml");
        MIME_TYPE_MAPS.put("dwf","model/vnd.dwf");
        MIME_TYPE_MAPS.put("gdl","model/vnd.gdl");
        MIME_TYPE_MAPS.put("gtw","model/vnd.gtw");
        MIME_TYPE_MAPS.put("mts","model/vnd.mts");
        MIME_TYPE_MAPS.put("vtu","model/vnd.vtu");
        MIME_TYPE_MAPS.put("wrl","model/vrml");
        MIME_TYPE_MAPS.put("ics","text/calendar");
        MIME_TYPE_MAPS.put("css","text/css");
        MIME_TYPE_MAPS.put("csv","text/csv");
        MIME_TYPE_MAPS.put("html","text/html");
        MIME_TYPE_MAPS.put("n3","text/n3");
        MIME_TYPE_MAPS.put("txt","text/plain");
        MIME_TYPE_MAPS.put("dsc","text/prs.lines.tag");
        MIME_TYPE_MAPS.put("rtx","text/richtext");
        MIME_TYPE_MAPS.put("sgml","text/sgml");
        MIME_TYPE_MAPS.put("tsv","text/tab-separated-values");
        MIME_TYPE_MAPS.put("t","text/troff");
        MIME_TYPE_MAPS.put("ttl","text/turtle");
        MIME_TYPE_MAPS.put("uri","text/uri-list");
        MIME_TYPE_MAPS.put("curl","text/vnd.curl");
        MIME_TYPE_MAPS.put("dcurl","text/vnd.curl.dcurl");
        MIME_TYPE_MAPS.put("scurl","text/vnd.curl.scurl");
        MIME_TYPE_MAPS.put("mcurl","text/vnd.curl.mcurl");
        MIME_TYPE_MAPS.put("fly","text/vnd.fly");
        MIME_TYPE_MAPS.put("flx","text/vnd.fmi.flexstor");
        MIME_TYPE_MAPS.put("gv","text/vnd.graphviz");
        MIME_TYPE_MAPS.put("3dml","text/vnd.in3d.3dml");
        MIME_TYPE_MAPS.put("spot","text/vnd.in3d.spot");
        MIME_TYPE_MAPS.put("jad","text/vnd.sun.j2me.app-descriptor");
        MIME_TYPE_MAPS.put("wml","text/vnd.wap.wml");
        MIME_TYPE_MAPS.put("wmls","text/vnd.wap.wmlscript");
        MIME_TYPE_MAPS.put("s","text/x-asm");
        MIME_TYPE_MAPS.put("c","text/x-c");
        MIME_TYPE_MAPS.put("f","text/x-fortran");
        MIME_TYPE_MAPS.put("p","text/x-pascal");
        MIME_TYPE_MAPS.put("java","text/x-java-source,java");
        MIME_TYPE_MAPS.put("etx","text/x-setext");
        MIME_TYPE_MAPS.put("uu","text/x-uuencode");
        MIME_TYPE_MAPS.put("vcs","text/x-vcalendar");
        MIME_TYPE_MAPS.put("vcf","text/x-vcard");
        MIME_TYPE_MAPS.put("3gp","video/3gpp");
        MIME_TYPE_MAPS.put("3g2","video/3gpp2");
        MIME_TYPE_MAPS.put("h261","video/h261");
        MIME_TYPE_MAPS.put("h263","video/h263");
        MIME_TYPE_MAPS.put("h264","video/h264");
        MIME_TYPE_MAPS.put("jpgv","video/jpeg");
        MIME_TYPE_MAPS.put("jpm","video/jpm");
        MIME_TYPE_MAPS.put("mj2","video/mj2");
        MIME_TYPE_MAPS.put("mp4","video/mp4");
        MIME_TYPE_MAPS.put("mpeg","video/mpeg");
        MIME_TYPE_MAPS.put("ogv","video/ogg");
        MIME_TYPE_MAPS.put("qt","video/quicktime");
        MIME_TYPE_MAPS.put("uvh","video/vnd.dece.hd");
        MIME_TYPE_MAPS.put("uvm","video/vnd.dece.mobile");
        MIME_TYPE_MAPS.put("uvp","video/vnd.dece.pd");
        MIME_TYPE_MAPS.put("uvs","video/vnd.dece.sd");
        MIME_TYPE_MAPS.put("uvv","video/vnd.dece.video");
        MIME_TYPE_MAPS.put("fvt","video/vnd.fvt");
        MIME_TYPE_MAPS.put("mxu","video/vnd.mpegurl");
        MIME_TYPE_MAPS.put("pyv","video/vnd.ms-playready.media.pyv");
        MIME_TYPE_MAPS.put("uvu","video/vnd.uvvu.mp4");
        MIME_TYPE_MAPS.put("viv","video/vnd.vivo");
        MIME_TYPE_MAPS.put("webm","video/webm");
        MIME_TYPE_MAPS.put("f4v","video/x-f4v");
        MIME_TYPE_MAPS.put("fli","video/x-fli");
        MIME_TYPE_MAPS.put("flv","video/x-flv");
        MIME_TYPE_MAPS.put("m4v","video/x-m4v");
        MIME_TYPE_MAPS.put("asf","video/x-ms-asf");
        MIME_TYPE_MAPS.put("wm","video/x-ms-wm");
        MIME_TYPE_MAPS.put("wmv","video/x-ms-wmv");
        MIME_TYPE_MAPS.put("wmx","video/x-ms-wmx");
        MIME_TYPE_MAPS.put("wvx","video/x-ms-wvx");
        MIME_TYPE_MAPS.put("avi","video/x-msvideo");
        MIME_TYPE_MAPS.put("movie","video/x-sgi-movie");
        MIME_TYPE_MAPS.put("ice","x-conference/x-cooltalk");
        MIME_TYPE_MAPS.put("par","text/plain-bas");
        MIME_TYPE_MAPS.put("yaml","text/yaml");
        MIME_TYPE_MAPS.put("dmg","application/x-apple-diskimage");
    }

    public static String getMimeTypes(String fileType){
        return MIME_TYPE_MAPS.getOrDefault(fileType,"application/octet-stream");
    }
}
